//
//  SelBase_View.m
//  MindBox
//
//  Created by MS on 16-1-9.
//  Copyright (c) 2016年 Lemon. All rights reserved.
//

#import "SelBase_View.h"
#import "UIImageView+WebCache.h"
@interface SelBase_View ()
@property (weak, nonatomic) IBOutlet UIImageView *bgImageView;

@property (weak, nonatomic) IBOutlet UILabel *textView;

@end

@implementation SelBase_View

-(void)setGift_Sel:(Gift_SeleData *)gift_Sel
{
    _gift_Sel = gift_Sel;
    
    [_bgImageView sd_setImageWithURL:[NSURL URLWithString:gift_Sel.header_img]];
    _textView.text = gift_Sel.title;
    _textView.font =[UIFont boldSystemFontOfSize:11];
    
}

+(instancetype) gift_SelBaseViewWithXib
{
    return [[[NSBundle mainBundle] loadNibNamed:NSStringFromClass([self class]) owner:nil options:nil] lastObject];
}

/*
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect {
    // Drawing code
}
*/

@end
